#ifndef _IN_SDK_INI_CONFIG_H_
#define _IN_SDK_INI_CONFIG_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <pthread.h>
#include <time.h>
#include <sys/time.h>
#include "libconfig.h"
#include "InCommon.h"

typedef struct
{
    int val;
    char *string;
}StInSdkIniCfgKeyInfo,*pStInSdkIniCfgKeyInfo;

typedef union
{
    int val;
    double dval;
    char str[256];
}UnInSdkIniCfgKeyData,*pUnInSdkIniCfgKeyData;

Com_ps8 Ext_InSdkIniCfg_CheckTypeStr(Com_ps8 key);
Com_void Ext_InSdkIniCfg_Recover(struct config *conf, Com_ps8 key);
Com_void Ext_InSdkIniCfg_Check(Com_ps8 file);
Com_void Ext_InSdkIniCfg_Init(Com_void);
Com_void Ext_InSdkIniCfg_Exit(Com_void);

#ifdef __cplusplus
}
#endif

#endif
